(Regexp Backslash): Document new \_< and \_> operators.
authorLuc Teirlinck <teirllm@auburn.edu>
Fri, 16 Jul 2004 18:37:19 +0000 (18:37 +0000)
committerLuc Teirlinck <teirllm@auburn.edu>
Fri, 16 Jul 2004 18:37:19 +0000 (18:37 +0000)
From Jim Blandy.

lispref/searching.texi

index 4a2703fd6403f21da7ba6d70613fa51a0ce5bc74..fd0d0e172a0516a669a1cc83b256bb1468a4edf7 100644 (file)
@@ -666,6 +666,19 @@ word-constituent character follows.
 matches the empty string, but only at the end of a word.  @samp{\>}
 matches at the end of the buffer (or string) only if the contents end
 with a word-constituent character.
+
+@item \_<
+@cindex @samp{\_<} in regexp
+matches the empty string, but only at the beginning of a symbol.  A
+symbol is a sequence of one or more word or symbol constituent
+characters.  @samp{\_<} matches at the beginning of the buffer (or
+string) only if a symbol-constituent character follows.
+
+@item \_>
+@cindex @samp{\_>} in regexp
+matches the empty string, but only at the end of a symbol.  @samp{\_>}
+matches at the end of the buffer (or string) only if the contents end
+with a symbol-constituent character.
 @end table
 
 @kindex invalid-regexp